package com.wang.controller;

import com.aaa.vo.Result;
import com.sun.org.apache.xerces.internal.dom.PSVIAttrNSImpl;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author :  DongZheng Wang
 * @PROJECT_NAME: fifth-cai-parent
 * @date :  2023-03-01 10:28
 **/

@RestController
@RequestMapping("/sso")
public class LoginOut {
    @RequestMapping("/loginOut")
    public Result Login(HttpServletRequest request){
        request.removeAttribute("token");
        return new Result(200,"Success");
    }


}
